//
//  YQUserAccountViewModel.h
//  WeiboOC
//
//  Created by yang on 15/11/15.
//  Copyright © 2015年 yang. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void (^finished)(NSError *error);

@interface YQUserAccountViewModel : NSObject
@property (nonatomic, strong) YQUserAccount *account;
@property (nonatomic, assign) BOOL userLogin;
@property (nonatomic, copy) NSString *tooken;
@property (nonatomic, copy) NSString *userName;
@property (nonatomic, strong) NSURL *userHeadURL;
- (void)loadAccessToken:(NSString*)code finished:(finished)finished;
@end
